﻿using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;

namespace Nantianmen.Shared
{
    public static class ArgumentNullThrowHelper
    {
        public static void ThrowIfNull([NotNull] object? argument, [CallerArgumentExpression("argument")] string? paramName = null)
        {
            ArgumentNullException.ThrowIfNull(argument, paramName);
        }

    }
}
